/// code : "string"
/// data : {"id":0,"ada":"string","amwayId":"string","auditDetails":[{"id":0,"data":"string","no":0,"propertyNameTip":"PG_NICK","resourceType":"TEXT","status":"NONE"}],"auditStatus":"NONE","coverList":[{"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"}],"createTime":0,"douYinCode":"string","douYinQRCode":{"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"},"identityMarks":["string"],"interestMarks":["string"],"introduce":"string","kuaiShouCode":"string","kuaiShouQRCode":{"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"},"mobile":"string","nick":"string","personalSign":{"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"},"publishStatus":"UN_PUBLISH","wxCode":"string","wxEnterpriseCode":"string","wxEnterpriseQRCode":{"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"}}
/// message : "string"

class Config {
  String _code;
  Data _data;
  String _message;

  String get code => _code;
  Data get data => _data;
  String get message => _message;

  Config({String code, Data data, String message}) {
    _code = code;
    _data = data;
    _message = message;
  }

  Config.fromJson(dynamic json) {
    _code = json["code"];
    _data = json["data"] != null ? Data.fromJson(json["data"]) : null;
    _message = json["message"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = _code;
    if (_data != null) {
      map["data"] = _data.toJson();
    }
    map["message"] = _message;
    return map;
  }
}

/// id : 0
/// ada : "string"
/// amwayId : "string"
/// auditDetails : [{"id":0,"data":"string","no":0,"propertyNameTip":"PG_NICK","resourceType":"TEXT","status":"NONE"}]
/// auditStatus : "NONE"
/// coverList : [{"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"}]
/// createTime : 0
/// douYinCode : "string"
/// douYinQRCode : {"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"}
/// identityMarks : ["string"]
/// interestMarks : ["string"]
/// introduce : "string"
/// kuaiShouCode : "string"
/// kuaiShouQRCode : {"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"}
/// mobile : "string"
/// nick : "string"
/// personalSign : {"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"}
/// publishStatus : "UN_PUBLISH"
/// wxCode : "string"
/// wxEnterpriseCode : "string"
/// wxEnterpriseQRCode : {"data":"string","dataType":"TEXT","no":0,"officialFlag":"NO"}

class Data {
  int _id;
  String _ada;
  String _amwayId;
  List<AuditDetails> _auditDetails;
  String _auditStatus;
  List<CoverList> _coverList;
  int _createTime;
  String _douYinCode;
  DouYinQRCode _douYinQRCode;
  List<String> _identityMarks;
  List<String> _interestMarks;
  String _introduce;
  String _kuaiShouCode;
  KuaiShouQRCode _kuaiShouQRCode;
  String _mobile;
  String _nick;
  PersonalSign _personalSign;
  String _publishStatus;
  String _wxCode;
  String _wxEnterpriseCode;
  WxEnterpriseQRCode _wxEnterpriseQRCode;

  int get id => _id;
  String get ada => _ada;
  String get amwayId => _amwayId;
  List<AuditDetails> get auditDetails => _auditDetails;
  String get auditStatus => _auditStatus;
  List<CoverList> get coverList => _coverList;
  int get createTime => _createTime;
  String get douYinCode => _douYinCode;
  DouYinQRCode get douYinQRCode => _douYinQRCode;
  List<String> get identityMarks => _identityMarks;
  List<String> get interestMarks => _interestMarks;
  String get introduce => _introduce;
  String get kuaiShouCode => _kuaiShouCode;
  KuaiShouQRCode get kuaiShouQRCode => _kuaiShouQRCode;
  String get mobile => _mobile;
  String get nick => _nick;
  PersonalSign get personalSign => _personalSign;
  String get publishStatus => _publishStatus;
  String get wxCode => _wxCode;
  String get wxEnterpriseCode => _wxEnterpriseCode;
  WxEnterpriseQRCode get wxEnterpriseQRCode => _wxEnterpriseQRCode;

  Data(
      {int id,
      String ada,
      String amwayId,
      List<AuditDetails> auditDetails,
      String auditStatus,
      List<CoverList> coverList,
      int createTime,
      String douYinCode,
      DouYinQRCode douYinQRCode,
      List<String> identityMarks,
      List<String> interestMarks,
      String introduce,
      String kuaiShouCode,
      KuaiShouQRCode kuaiShouQRCode,
      String mobile,
      String nick,
      PersonalSign personalSign,
      String publishStatus,
      String wxCode,
      String wxEnterpriseCode,
      WxEnterpriseQRCode wxEnterpriseQRCode}) {
    _id = id;
    _ada = ada;
    _amwayId = amwayId;
    _auditDetails = auditDetails;
    _auditStatus = auditStatus;
    _coverList = coverList;
    _createTime = createTime;
    _douYinCode = douYinCode;
    _douYinQRCode = douYinQRCode;
    _identityMarks = identityMarks;
    _interestMarks = interestMarks;
    _introduce = introduce;
    _kuaiShouCode = kuaiShouCode;
    _kuaiShouQRCode = kuaiShouQRCode;
    _mobile = mobile;
    _nick = nick;
    _personalSign = personalSign;
    _publishStatus = publishStatus;
    _wxCode = wxCode;
    _wxEnterpriseCode = wxEnterpriseCode;
    _wxEnterpriseQRCode = wxEnterpriseQRCode;
  }

  Data.fromJson(dynamic json) {
    _id = json["id"];
    _ada = json["ada"];
    _amwayId = json["amwayId"];
    if (json["auditDetails"] != null) {
      _auditDetails = [];
      json["auditDetails"].forEach((v) {
        _auditDetails.add(AuditDetails.fromJson(v));
      });
    }
    _auditStatus = json["auditStatus"];
    if (json["coverList"] != null) {
      _coverList = [];
      json["coverList"].forEach((v) {
        _coverList.add(CoverList.fromJson(v));
      });
    }
    _createTime = json["createTime"];
    _douYinCode = json["douYinCode"];
    _douYinQRCode = json["douYinQRCode"] != null
        ? DouYinQRCode.fromJson(json["douYinQRCode"])
        : null;
    _identityMarks = json["identityMarks"] != null
        ? json["identityMarks"].cast<String>()
        : [];
    _interestMarks = json["interestMarks"] != null
        ? json["interestMarks"].cast<String>()
        : [];
    _introduce = json["introduce"];
    _kuaiShouCode = json["kuaiShouCode"];
    _kuaiShouQRCode = json["kuaiShouQRCode"] != null
        ? KuaiShouQRCode.fromJson(json["kuaiShouQRCode"])
        : null;
    _mobile = json["mobile"];
    _nick = json["nick"];
    _personalSign = json["personalSign"] != null
        ? PersonalSign.fromJson(json["personalSign"])
        : null;
    _publishStatus = json["publishStatus"];
    _wxCode = json["wxCode"];
    _wxEnterpriseCode = json["wxEnterpriseCode"];
    _wxEnterpriseQRCode = json["wxEnterpriseQRCode"] != null
        ? WxEnterpriseQRCode.fromJson(json["wxEnterpriseQRCode"])
        : null;
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["id"] = _id;
    map["ada"] = _ada;
    map["amwayId"] = _amwayId;
    if (_auditDetails != null) {
      map["auditDetails"] = _auditDetails.map((v) => v.toJson()).toList();
    }
    map["auditStatus"] = _auditStatus;
    if (_coverList != null) {
      map["coverList"] = _coverList.map((v) => v.toJson()).toList();
    }
    map["createTime"] = _createTime;
    map["douYinCode"] = _douYinCode;
    if (_douYinQRCode != null) {
      map["douYinQRCode"] = _douYinQRCode.toJson();
    }
    map["identityMarks"] = _identityMarks;
    map["interestMarks"] = _interestMarks;
    map["introduce"] = _introduce;
    map["kuaiShouCode"] = _kuaiShouCode;
    if (_kuaiShouQRCode != null) {
      map["kuaiShouQRCode"] = _kuaiShouQRCode.toJson();
    }
    map["mobile"] = _mobile;
    map["nick"] = _nick;
    if (_personalSign != null) {
      map["personalSign"] = _personalSign.toJson();
    }
    map["publishStatus"] = _publishStatus;
    map["wxCode"] = _wxCode;
    map["wxEnterpriseCode"] = _wxEnterpriseCode;
    if (_wxEnterpriseQRCode != null) {
      map["wxEnterpriseQRCode"] = _wxEnterpriseQRCode.toJson();
    }
    return map;
  }
}

/// data : "string"
/// dataType : "TEXT"
/// no : 0
/// officialFlag : "NO"

class WxEnterpriseQRCode {
  String _data;
  String _dataType;
  int _no;
  String _officialFlag;

  String get data => _data;
  String get dataType => _dataType;
  int get no => _no;
  String get officialFlag => _officialFlag;

  WxEnterpriseQRCode(
      {String data, String dataType, int no, String officialFlag}) {
    _data = data;
    _dataType = dataType;
    _no = no;
    _officialFlag = officialFlag;
  }

  WxEnterpriseQRCode.fromJson(dynamic json) {
    _data = json["data"];
    _dataType = json["dataType"];
    _no = json["no"];
    _officialFlag = json["officialFlag"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["data"] = _data;
    map["dataType"] = _dataType;
    map["no"] = _no;
    map["officialFlag"] = _officialFlag;
    return map;
  }
}

/// data : "string"
/// dataType : "TEXT"
/// no : 0
/// officialFlag : "NO"

class PersonalSign {
  String _data;
  String _dataType;
  int _no;
  String _officialFlag;

  String get data => _data;
  String get dataType => _dataType;
  int get no => _no;
  String get officialFlag => _officialFlag;

  PersonalSign({String data, String dataType, int no, String officialFlag}) {
    _data = data;
    _dataType = dataType;
    _no = no;
    _officialFlag = officialFlag;
  }

  PersonalSign.fromJson(dynamic json) {
    _data = json["data"];
    _dataType = json["dataType"];
    _no = json["no"];
    _officialFlag = json["officialFlag"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["data"] = _data;
    map["dataType"] = _dataType;
    map["no"] = _no;
    map["officialFlag"] = _officialFlag;
    return map;
  }
}

/// data : "string"
/// dataType : "TEXT"
/// no : 0
/// officialFlag : "NO"

class KuaiShouQRCode {
  String _data;
  String _dataType;
  int _no;
  String _officialFlag;

  String get data => _data;
  String get dataType => _dataType;
  int get no => _no;
  String get officialFlag => _officialFlag;

  KuaiShouQRCode({String data, String dataType, int no, String officialFlag}) {
    _data = data;
    _dataType = dataType;
    _no = no;
    _officialFlag = officialFlag;
  }

  KuaiShouQRCode.fromJson(dynamic json) {
    _data = json["data"];
    _dataType = json["dataType"];
    _no = json["no"];
    _officialFlag = json["officialFlag"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["data"] = _data;
    map["dataType"] = _dataType;
    map["no"] = _no;
    map["officialFlag"] = _officialFlag;
    return map;
  }
}

/// data : "string"
/// dataType : "TEXT"
/// no : 0
/// officialFlag : "NO"

class DouYinQRCode {
  String _data;
  String _dataType;
  int _no;
  String _officialFlag;

  String get data => _data;
  String get dataType => _dataType;
  int get no => _no;
  String get officialFlag => _officialFlag;

  DouYinQRCode({String data, String dataType, int no, String officialFlag}) {
    _data = data;
    _dataType = dataType;
    _no = no;
    _officialFlag = officialFlag;
  }

  DouYinQRCode.fromJson(dynamic json) {
    _data = json["data"];
    _dataType = json["dataType"];
    _no = json["no"];
    _officialFlag = json["officialFlag"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["data"] = _data;
    map["dataType"] = _dataType;
    map["no"] = _no;
    map["officialFlag"] = _officialFlag;
    return map;
  }
}

/// data : "string"
/// dataType : "TEXT"
/// no : 0
/// officialFlag : "NO"

class CoverList {
  String _data;
  String _dataType;
  int _no;
  String _officialFlag;

  String get data => _data;
  String get dataType => _dataType;
  int get no => _no;
  String get officialFlag => _officialFlag;

  CoverList({String data, String dataType, int no, String officialFlag}) {
    _data = data;
    _dataType = dataType;
    _no = no;
    _officialFlag = officialFlag;
  }

  CoverList.fromJson(dynamic json) {
    _data = json["data"];
    _dataType = json["dataType"];
    _no = json["no"];
    _officialFlag = json["officialFlag"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["data"] = _data;
    map["dataType"] = _dataType;
    map["no"] = _no;
    map["officialFlag"] = _officialFlag;
    return map;
  }
}

/// id : 0
/// data : "string"
/// no : 0
/// propertyNameTip : "PG_NICK"
/// resourceType : "TEXT"
/// status : "NONE"

class AuditDetails {
  int _id;
  String _data;
  int _no;
  String _propertyNameTip;
  String _resourceType;
  String _status;

  int get id => _id;
  String get data => _data;
  int get no => _no;
  String get propertyNameTip => _propertyNameTip;
  String get resourceType => _resourceType;
  String get status => _status;

  AuditDetails(
      {int id,
      String data,
      int no,
      String propertyNameTip,
      String resourceType,
      String status}) {
    _id = id;
    _data = data;
    _no = no;
    _propertyNameTip = propertyNameTip;
    _resourceType = resourceType;
    _status = status;
  }

  AuditDetails.fromJson(dynamic json) {
    _id = json["id"];
    _data = json["data"];
    _no = json["no"];
    _propertyNameTip = json["propertyNameTip"];
    _resourceType = json["resourceType"];
    _status = json["status"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["id"] = _id;
    map["data"] = _data;
    map["no"] = _no;
    map["propertyNameTip"] = _propertyNameTip;
    map["resourceType"] = _resourceType;
    map["status"] = _status;
    return map;
  }
}
